package api.doctor;

import java.io.IOException;
import java.util.HashMap;

import common.Host;
import common.Request;

/**
 * 实现帮忙医更新聊天信息接口调用
 * @author gaowen
 *
 */
public class UpdateMessage
{
	/**
	 * 实现帮忙医更新聊天信息接口调用
	 * @param subjectid 会话ID
	 * @param SubjectMonth 会话月份
	 * @param token 调接口需要的token
	 * @return 接口返回值
	 * @throws IOException 
	 */
	public static String options(String subjectid,String SubjectMonth,String token) throws IOException
	{
		String url = Host.getAddress()+"/api/IMmessage/UpdateMessage";
		
		HashMap<String, String> parms=new HashMap<>();
		parms.put("subjectid", subjectid);
		parms.put("SubjectMonth", SubjectMonth);
		
		String result=Request.options(url, parms, token);
		return result;
	}
}
